<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>开课吧钟毅公开课讲解</title>
</head>
<body>
	<script src="KPromise.js"></script>
	<script>
		const p1 = new KPromise((resolve,reject) => {
			setTimeout( _ => {
				console.log('asd')
				resolve('resolve argument')
			},200);
		})
		p1.then(res => {
			console.log('then',res)
		})
		p1.then(res => {
			console.log('then2',res)
		})
	</script>
</body>
</html>